package ar.unq.edu.agenda.persist;


import java.util.Map;
import org.uqbar.commons.model.Home;

import ar.unq.edu.agenda.domain.City;
import ar.unq.edu.agenda.domain.Contact;
import ar.unq.edu.agenda.home.CityHome;
import ar.unq.edu.agenda.home.ContactHome;

/**
 * Proporciona un mecanismo dummy para la persistencia de Elementos
 * @author nicolas
 *
 */
public class DummyPersistHomeFactory implements HomeFactory {

	@Override
	public void addHomes(Map<Class<?>, Home<?>> homes) {
		homes.put(Contact.class, new ContactHome());
		homes.put(City.class, new CityHome());
	}
	

}